//
//  ViewController+Ext.swift
//  Swift-Tools
//
//  Created by gree on 2020/10/22.
//

import UIKit

extension UIViewController {
    
    func push(controller: UIViewController) {
        controller.hidesBottomBarWhenPushed = true
        navigationController?.pushViewController(controller, animated: true)
    }
}
